Part Number Hot Search : 
AT45DB16 M3765 DCR257 8TXXX AD9856 1608BT F1205 63F01
Product Description
Full Text Search
 

To Download ADSP-218XNSERIES Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  a dsp microcomputer information furnished by analog devices is believed to be accurate and reli- able. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. no license is granted by implication or otherwise under any patent or patent rights of analog devices. one technology way, p.o.box 9106, norwood, ma 02062-9106, u.s.a. tel:781/329-4700 http://www.analog.com fax:781/326-8703 ? analog devices, inc., 2001 rev. 0 ice-port is a trademark of analog devices, inc. adsp-218xn series performance features 12.5 ns instruction cycle time @1.8 v (internal), 80 mips sustained performance single-cycle instruction execution single-cycle context switch 3-bus architecture allows dual operand fetches in every instruction cycle multifunction instructions power-down mode featuring low cmos standby power dissipation with 200 clkin cycle recovery from power-down condition low power dissipation in idle mode integration features adsp-2100 family code compatible (easy to use algebraic syntax), with instruction set extensions up to 256k bytes of on-chip ram, configured as up to 48k words program memory ram up to 56k words data memory ram dual-purpose program memory for both instruction and data storage independent alu, multiplier/accumulator, and barrel shifter computational units two independent data address generators powerful program sequencer provides zero overhead looping conditional instruction execution programmable 16-bit interval timer with prescaler 100-lead lqfp and 144-ball mini-bga system interface features flexible i/o allows 1.8 v, 2.5 v or 3.3 v operation all inputs tolerate up to 3.6 v regardless of mode 16-bit internal dma port for high-speed access to on- chip memory (mode selectable) 4m-byte memory interface for storage of data tables and program overlays (mode selectable) 8-bit dma to byte memory for transparent program and data memory transfers (mode selectable) programmable memory strobe and separate i/o memory space permits ?glueless? system design programmable wait state generation two double-buffered serial ports with companding hardware and automatic data buffering automatic booting of on-chip program memory from byte-wide external memory, e.g., eprom, or through internal dma port six external interrupts 13 programmable flag pins provide flexible system signaling uart emulation through software sport reconfiguration ice-port? emulator interface supports debugging in final systems functional block diagram i n s e r t c h i p b l o c k d i a g r a m h e r e . arithmetic units shifter mac alu program memory address data memory address program memory data data memory data power-down control memory program memory up to 48k 24-bit external address bus external data bus byte dma controller sport0 serial ports sport1 programmable i/o and flags timer host mode or external data bus internal dma port dag1 data address generators dag2 program sequencer adsp-2100 base architecture data memory up to 56k 16-bit full memory mode
adsp-218xn series ?2? rev. 0 visualdsp++ and ez-kit lite are trademarks of analog devices, inc. general description the adsp-218xn series consists of six single chip micro- computers optimized for digital signal processing applica- tions. the high-level block diagram for the adsp-218xn series members appears on the previous page. all series members are pin-compatible and are differentiated solely by the amount of on-chip sram. this feature, combined with adsp-21xx code compatibility, provides a great deal of flexibility in the design decision. specific family members are shown in table 1 . adsp-218xn series members combine the adsp-2100 family base architecture (three computational units, data address generators, and a program sequencer) with two serial ports, a 16-bit internal dma port, a byte dma port, a programmable timer, flag i/o, extensive interrupt capa- bilities, and on-chip program and data memory. adsp-218xn series members integrate up to 256k bytes of on-chip memor y configured as up to 48k words (24-bit) of program ram, and up to 56k words (16-bit) of data ram. power-down circuitry is also provided to meet the low power needs of battery-operated portable equipment. the adsp-218xn is available in a 100-lead lqfp package and 144-ball mini-bga. fabricated in a high-speed, low-power, 0.18 m cmos process, adsp-218xn series members operate with a 12.5 ns instruction cycle time. every instruction can execute in a single processor cycle. the adsp-218xn?s flexible architecture and comprehen- sive instruction set allow the processor to perform multiple operations in parallel. in one processor cycle, adsp-218xn series members can:  generate the next program address  fetch the next instruction  perform one or two data moves  update one or two data address pointers  perform a computational operation this takes place while the processor continues to:  receive and transmit data through the two serial ports  receive and/or transmit data through the internal dma port  receive and/or transmit data through the byte dma port decrement timer development system analog devices? wide range of software and hardware development tools supports the adsp-218xn series. the dsp tools include an integrated development environment, an evaluation kit, and a serial port emulator. visualdsp++? is an integrated development environment, allowing for fast and easy development, debug, and deploy- ment. the visualdsp++ project management environment lets programmers develop and debug an application. this environment includes an easy-to-use assembler that is based on an algebraic syntax; an archiver (librarian/library build- er); a linker; a prom-splitter utility; a cycle-accurate, instruction-level simulator; a c compiler; and a c run-time library that includes dsp and mathematical functions. debugging both c and assembly programs with the visualdsp++ debugger, programmers can:  view mixed c and assembly code (interleaved source and object information)  insert break points  set conditional breakpoints on registers, memory, and stacks  trace instruction execution  fill and dump memory  source level debugging the visualdsp++ ide lets programmers define and manage dsp software development. the dialog boxes and property pages let programmers configure and manage all of the adsp-218xn development tools, including the syntax highlighting in the visualdsp++ editor. this capa- bility controls how the development tools process inputs and generate outputs. the adsp-2189m ez-kit lite? provides developers with a cost-effective method for initial evaluation of the powerful adsp-218xn dsp family architecture. the adsp-2189m ez-kit lite includes a stand-alone adsp- 2189m dsp board supported by an evaluation suite of visualdsp++. with this ez-kit lite, users can learn about dsp hardware and software development and evalu- ate potential applications of the adsp-218xn series. the adsp-2189m ez-kit lite provides an evaluation suite of the visualdsp++ development environment with the c compiler, assembler, and linker. the size of the dsp erxecutable that can be built using the ez-kit lite tools is limited to 8k words. table 1. adsp-218xn dsp microcomputer family device program memory (k words) data memory (k words) adsp-2184n 4 4 adsp-2185n 16 16 adsp-2186n 8 8 adsp-2187n 32 32 adsp-2188n 48 56 adsp-2189n 32 48
?3? rev. 0 adsp-218xn series the ez-kit lite includes the following features:  75 mhz adsp-2189m  full 16-bit stereo audio i/o with ad73322 codec  rs-232 interface  ez-ice connector for emulator control  dsp demonstration programs  evaluation suite of visualdsp++ the adsp-218x ez-ice ? e m u l a t o r p r o v i d e s a n e a s i e r a n d more cost-effective method for engineers to develop and optimize dsp systems, shortening product development cycles for faster time-to-market. adsp-218xn series members integrate on-chip emulation support with a 14-pin ice-port interface. this interface provides a simpler target board connection that requires fewer mechanical clearance considerations than other adsp-2100 family ez-ices. adsp-218xn series members need not be removed from the target system when using the ez-ice, nor are any adapt- ers needed. due to the small footprint of the ez-ice con- nector, emulation can be supported in final board designs.the ez-ice performs a full range of functions, including: in-target operation  up to 20 breakpoints  single-step or full-speed operation  registers and memory values can be examined and altered  pc upload and download functions  instruction-level emulation of program booting and execution  complete assembly and disassembly of instructions  c source-level debugging additional information this data sheet provides a general overview of adsp- 218xn series functionality. for additional information on the architecture and instruction set of the processor, refer to the adsp-218x dsp hardware reference and the adsp- 218x dsp instruction set reference . architecture overview the adsp-218xn series instruction set provides flexible data moves and multifunction (one or two data moves with a computation) instructions. every instruction can be exe- cuted in a single processor cycle. the adsp-218xn assem- bly language uses an algebraic syntax for ease of coding and readability. a comprehensive set of development tools sup- ports program development. the functional block diagram is an overall block diagram of the adsp-218xn series. the processor contains three in- dependent computational units: the alu, the multiplier/ accumulator (mac), and the shifter. the computational units process 16-bit data directly and have provisions to support multiprecision computations. the alu performs a standard set of arithmetic and logic operations; division primitives are also supported. the mac performs single- cycle multiply, multiply/add, and multiply/subtract opera- tions with 40 bits of accumulation. the shifter performs logical and arithmetic shifts, normalization, denormaliza- tion, and derive exponent operations. the shifter can be used to efficiently implement numeric format control, including multiword and block floating- point representations. the internal result (r) bus connects the computational units so that the output of any unit may be the input of any unit on the next cycle. a powerful program sequencer and two dedicated data address generators ensure efficient delivery of operands to these computational units. the sequencer supports condi- tional jumps, subroutine calls, and returns in a single cycle. with internal loop counters and loop stacks, adsp-218xn series members execute looped code with zero overhead; no explicit jump instructions are required to maintain loops. two data address generators (dags) provide addresses for simultaneous dual operand fetches (from data memory and program memory). each dag maintains and updates four address pointers. whenever the pointer is used to access data (indirect addressing), it is post-modified by the value of one of four possible modify registers. a length value may be associated with each pointer to implement automatic modulo addressing for circular buffers. five internal buses provide efficient data transfer:  program memory address (pma) bus  program memory data (pmd) bus  data memory address (dma) bus  data memory data (dmd) bus  result (r) bus the two address buses (pma and dma) share a single external address bus, allowing memory to be expanded off- chip, and the two data buses (pmd and dmd) share a single external data bus. byte memory space and i/o memory space also share the external buses. program memory can store both instructions and data, per- mitting adsp-218xn series members to fetch two oper- ands in a single cycle, one from program memory and one from data memory. adsp-218xn series members can fetch an operand from program memory and the next instruction in the same cycle. in lieu of the address and data bus for external memory connection, adsp-218xn series members may be config- ured for 16-bit internal dma port (idma port) connec- tion to external systems. the idma port is made up of 16 ez-ice is a registered trademark of analog devices, inc.
adsp-218xn series ?4? rev. 0 data/address pins and five control pins. the idma port provides transparent, direct access to the dsp?s on-chip program and data ram. an interface to low-cost byte-wide memory is provided by the byte dma port (bdma port). the bdma port is bidirectional and can directly address up to four megabytes of external ram or rom for off-chip storage of program overlays or data tables. the byte memory and i/o memory space interface supports slow memories and i/o memory-mapped peripherals with programmable wait state generation. external devices can gain control of external buses with bus request/grant signals (br , bgh , and bg ). one execution mode (go mode) allows the adsp-218xn to continue running from on-chip memory. normal execution mode requires the processor to halt while buses are granted. adsp-218xn series members can respond to eleven inter- rupts. there can be up to six external interrupts (one edge- sensitive, two level-sensitive, and three configurable) and seven internal interrupts generated by the timer, the serial ports (sport), the byte dma port, and the power-down circuitry. there is also a master reset signal. the two serial ports provide a complete synchronous serial interface with optional companding in hardware and a wide variety of framed or frameless data transmit and receive modes of operation. each port can generate an internal programmable serial clock or accept an external serial clock. adsp-218xn series members provide up to 13 general- purpose flag pins. the data input and output pins on sport1 can be alternatively configured as an input flag and an output flag. in addition, eight flags are programma- ble as inputs or outputs, and three flags are always outputs. a programmable interval timer generates periodic inter- rupts. a 16-bit count register (tcount) decrements every n processor cycle, where n is a scaling value stored in an 8-bit register (tscale). when the value of the count register reaches zero, an interrupt is generated and the count register is reloaded from a 16-bit period register (tperiod). serial ports adsp-218xn series members incorporate two complete synchronous serial ports (sport0 and sport1) for serial communications and multiprocessor communication. following is a brief list of the capabilities of the adsp- 218xn sports. for additional information on serial ports, refer to the adsp-218x dsp hardware reference .  sports are bidirectional and have a separate, double- buffered transmit and receive section.  sports can use an external serial clock or generate their own serial clock internally.  sports have independent framing for the receive and transmit sections. sections run in a frameless mode or with frame synchronization signals internally or externally generated. frame sync signals are active high or inverted, with either of two pulsewidths and timings.  sports support serial data word lengths from 3 to 16 bits and provide optional a-law and -law compand- ing, according to ccitt recommendation g.711.  sport receive and transmit sections can generate unique interrupts on completing a data word transfer.  sports can receive and transmit an entire circular buffer of data with only one overhead cycle per data word. an interrupt is generated after a data buffer transfer.  sport0 has a multichannel interface to selectively receive and transmit a 24 or 32 word, time-division mul- tiplexed, serial bitstream.  sport1 can be configured to have two external inter- rupts (irq0 and irq1 ) and the fi and fo signals. the internally generated serial clock may still be used in this configuration. pin descriptions adsp-218xn series members are available in a 100-lead lqfp package and a 144-ball mini-bga package. in order to maintain maximum functionality and reduce package size and pin count, some serial port, programmable flag, inter- rupt and external bus pins have dual, multiplexed function- ality. the external bus pins are configured during reset only, while serial port pins are software configurable during program execution. flag and interrupt functionality is retained concurrently on multiplexed pins. in cases where pin functionality is reconfigurable, the default state is shown in plain text in table 2 , while alternate functionality is shown in italics .
?5? rev. 0 adsp-218xn series table 2. common-mode pins pin name # of pins i/o function reset 1 i processor reset input br 1ibus request input bg 1 o bus grant output bgh 1 o bus grant hung output dms 1 o data memory select output pms 1oprogram memory select output ioms 1omemory select output bms 1 o byte memory select output cms 1 o combined memory select output rd 1 o memory read enable output wr 1 o memory write enable output irq2 1 i edge- or level-sensitive interrupt request 1 pf7 i/o programmable i/o pin irql1 1 i level-sensitive interrupt requests 1 pf6 i/o programmable i/o pin irql0 1 i level-sensitive interrupt requests 1 pf5 i/o programmable i/o pin irqe 1 i edge-sensitive interrupt requests 1 pf4 i/o programmable i/o pin mode d 1 i mode select input?checked only during reset pf3 i/o programmable i/o pin during normal operation mode c 1 i mode select input?checked only during reset pf2 i/o programmable i/o pin during normal operation mode b 1 i mode select input?checked only during reset pf1 i/o programmable i/o pin during normal operation mode a 1 i mode select input?checked only during reset pf0 i/o programmable i/o pin during normal operation clkin 1 i clock input xtal 1 o quartz crystal output clkout 1 o processor clock output sport0 5 i/o serial port i/o pins sport1 5 i/o serial port i/o pins irq1?0 , fi, fo edge- or level-sensitive interrupts, fi, fo 2 pwd 1 i power-down control input pwdack 1 o power-down acknowledge control output fl0, fl1, fl2 3 o output flags v ddint 2iinternal v dd (1.8 v) power (lqfp) v ddext 4iexternal v dd (1.8 v, 2.5 v, or 3.3 v) power (lqfp) gnd 10 i ground (lqfp) v ddint 4iinternal v dd (1.8 v) power (mini-bga) v ddext 7iexternal v dd (1.8 v, 2.5 v, or 3.3 v) power (mini- bga) gnd 20 i ground (mini-bga) ez-port 9 i/o for emulation use 1 interrupt/flag pins retain both functions concurrently. if imask is set to enable the corresponding interrupts, the dsp will vector to the appropriate interrupt vector address when the pin is asserted, either by external devices or set as a programmabl e flag. 2 sport configuration determined by the dsp system control register. software configurable.
adsp-218xn series ?6? rev. 0 memory interface pins adsp-218xn series members can be used in one of two modes: full memory mode, which allows bdma operation with full external overlay memory and i/o capability, or host mode, which allows idma operation with limited external addressing capabilities. the operating mode is determined by the state of the mode c pin during reset and cannot be changed while the processor is running. table 3 and table 4 list the active signals at specific pins of the dsp during either of the two operating modes (full memory or host). a signal in one table shares a pin with a signal from the other table, with the active signal determined by the mode that is set. for the shared pins and their alternate signals (e.g., a4/iad3), refer to the package pinouts in table 27 on page 40 and table 28 on page 42 . terminating unused pins table 5 shows the recommendations for terminating unused pins. table 3. full memory mode pins (mode c = 0) pin name # of pins i/o function a13?0 14 o address output pins for program, data, byte, and i/o spaces d23?0 24 i/o data i/o pins for program, data, byte, and i/o spaces (8 msbs are also used as byte memory addresses.) table 4. host mode pins (mode c = 1) pin name # of pins i/o function iad15?0 16 i/o idma port address/data bus a0 1 o address pin for external i/o, program, data, or byte access 1 d23?8 16 i/o data i/o pins for program, data, byte, and i/o spaces iwr 1 i idma write enable ird 1 i idma read enable ial 1 i idma address latch pin is 1iidma select iack 1 o idma port acknowledge configurable in mode d; open drain 1 in host mode, external peripheral addresses can be decoded using the a0, cms , pms , dms , and ioms signals. table 5. unused pin terminations pin name 1 i/o 3-state (z) 2 reset state hi-z 3 caused by unused configuration xtal o o float clkout o o float 4 a13?1 or o (z) hi-z br , ebr float iad12 ? 0 i/o (z) hi-z is float a0 o (z) hi-z br , ebr float d23?8 i/o (z) hi-z br , ebr float d7 or i/o (z) hi-z br , ebr float iwr i i high (inactive) d6 or i/o (z) hi-z br , ebr float ird iibr , ebr high (inactive) d5 or i/o (z) hi-z float ial i i low (inactive) d4 or i/o (z) hi-z br , ebr float is i i high (inactive)
?7? rev. 0 adsp-218xn series d3 or i/o (z) hi-z br , ebr float iack float d2?0 or i/o (z) hi-z br , ebr float iad15?13 i/o (z) hi-z is float pms o (z) o br , ebr float dms o (z) o br , ebr float bms o (z) o br , ebr float ioms o (z) o br , ebr float cms o (z) o br , ebr float rd o (z) o br , ebr float wr o (z) o br , ebr float br i i high (inactive) bg o (z) o ee float bgh oo float irq2 / pf7 i/o (z) i input = high (inactive) or program as output, set to 1, let float 5 irql1 / pf6 i/o (z) i input = high (inactive) or program as output, set to 1, let float 5 irql0 / pf5 i/o (z) i input = high (inactive) or program as output, set to 1, let float 5 irqe / pf4 i/o (z) i input = high (inactive) or program as output, set to 1, let float 5 pwd ii high sclk0 i/o i input = high or low, output = float rfs0 i/o i high or low dr0 i i high or low tfs0 i/o i high or low dt0 o o float sclk1 i/o i input = high or low, output = float rfs1/irq0 i/o i high or low dr1/fi i i high or low tfs1/irq1 i/o i high or low dt1/fo o o float ee i i float ebr ii float ebg oo float ereset ii float ems oo float eint ii float eclk i i float elin i i float elout o o float 1 clkin, reset , and pf3?0/mode d ?a are not included in this table because these pins must be used. 2 all bidirectional pins have three-stated outputs. when the pin is configured as an output, the output is hi-z (high impedance) when inactive. 3 hi-z = high impedance. 4 if the clkout pin is not used, turn it off, using clkodis in sport0 autobuffer control register. 5 if the interrupt/programmable flag pins are not used, there are two options: option 1: when these pins are configured as inputs at reset and function as interrupts and input flag pins, pull the pins high (inactive). option 2: program the unused pins as outputs, set them to 1 p rior to enabling interrupts, and let pins float. table 5. unused pin terminations (continued) pin name 1 i/o 3-state (z) 2 reset state hi-z 3 caused by unused configuration
adsp-218xn series ?8? rev. 0 interrupts the interrupt controller allows the processor to respond to the eleven possible interrupts and reset with minimum over- head. adsp-218xn series members provide four dedicated external interrupt input pins: irq2 , irql0 , irql1 , and irqe (shared with the pf7?4 pins). in addition, sport1 may be reconfigured for irq0 , irq1 , fi and fo, for a total of six external interrupts. the adsp-218xn also supports internal interrupts from the timer, the byte dma port, the two serial ports, software, and the power-down control cir- cuit. the interrupt levels are internally prioritized and indi- vidually maskable (except power-down and reset). the irq2 , irq0 , and irq1 input pins can be programmed to be either level- or edge-sensitive. irql0 and irql1 are level-sensitive and irqe is edge-sensitive. the priorities and vector addresses of all interrupts are shown in table 6 . interrupt routines can either be nested with higher priority interrupts taking precedence or processed sequentially. in- terrupts can be masked or unmasked with the imask reg- ister. individual interrupt requests are logically anded with the bits in imask; the highest priority unmasked in- terrupt is then selected. the power-down interrupt is non- maskable. adsp-218xn series members mask all interrupts for one instruction cycle following the execution of an instruction that modifies the imask register. this does not affect serial port autobuffering or dma transfers. the interrupt control register, icntl, controls interrupt nesting and defines the irq0 , irq1 , and irq2 external interrupts to be either edge- or level-sensitive. the irqe pin is an external edge-sensitive interrupt and can be forced and cleared. the irql0 and irql1 pins are external level sensitive interrupts. the ifc register is a write-only register used to force and clear interrupts. on-chip stacks preserve the processor status and are automatically maintained during interrupt handling. the stacks are 12 levels deep to allow interrupt, loop, and subroutine nesting. the following instructions allow global enable or disable servicing of the interrupts (including power-down), regardless of the state of imask: ena ints; dis ints; disabling the interrupts does not affect serial port auto- buffering or dma. when the processor is reset, interrupt servicing is enabled. low-power operation adsp-218xn series members have three low-power modes that significantly reduce the power dissipation when the device operates under standby conditions. these modes are:  power-down idle  slow idle the clkout pin may also be disabled to reduce external power dissipation. power-down adsp-218xn series members have a low-power feature that lets the processor enter a very low-power dormant state through hardware or software control. following is a brief list of power-down features. refer to the adsp-218x dsp hardware reference , ?system interface? chapter, for detailed information about the power-down feature.  quick recovery from power-down. the processor begins executing instructions in as few as 200 clkin cycles.  support for an externally generated ttl or cmos processor clock. the external clock can continue running during power-down without affecting the lowest power rating and 200 clkin cycle recovery.  support for crystal operation includes disabling the oscil- lator to save power (the processor automatically waits approximately 4096 clkin cycles for the crystal oscilla- tor to start or stabilize), and letting the oscillator run to allow 200 clkin cycle start-up.  power-down is initiated by either the power-down pin (pwd ) or the software power-down force bit. interrupt support allows an unlimited number of instructions to be executed before optionally powering down. the power- down interrupt also can be used as a nonmaskable, edge- sensitive interrupt.  context clear/save control allows the processor to continue where it left off or start with a clean context when leaving the power-down state. table 6. interrupt priority and interrupt vector addresses source of interrupt interrupt vector address (hex) reset (or power-up with pucr = 1) 0x0000 (highest priority) power-down (nonmaskable) 0x002c irq2 0x0004 irql1 0x0008 irql0 0x000c sport0 transmit 0x0010 sport0 receive 0x0014 irqe 0x0018 bdma interrupt 0x001c sport1 transmit or irq1 0x0020 sport1 receive or irq0 0x0024 timer 0x0028 (lowest priority)
?9? rev. 0 adsp-218xn series the reset pin also can be used to terminate power- down.  power-down acknowledge pin (pwdack) indicates when the processor has entered power-down. idle when the adsp-218xn is in the idle mode, the processor waits indefinitely in a low-power state until an interrupt occurs. when an unmasked interrupt occurs, it is serviced; execution then continues with the instruction following the idle instruction. in idle mode idma, bdma, and auto- buffer cycle steals still occur. slow idle the idle instruction is enhanced on adsp-218xn series members to let the processor?s internal clock signal be slowed, further reducing power consumption. the reduced clock frequency, a programmable fraction of the normal clock rate, is specified by a selectable divisor given in the idle instruction. the format of the instruction is: idle (n); where n = 16, 32, 64, or 128. this instruction keeps the processor fully functional, but operating at the slower clock rate. while it is in this state, the processor?s other internal clock signals, such as sclk, clkout, and timer clock, are reduced by the same ratio. the default form of the in- struction, when no clock divisor is given, is the standard idle instruction. when the idle (n) instruction is used, it effectively slows down the processor?s internal clock and thus its response time to incoming interrupts. the one-cycle response time of the standard idle state is increased by n, the clock divisor. when an enabled interrupt is received, adsp-218xn series members remain in the idle state for up to a maximum of n processor cycles (n = 16, 32, 64, or 128) before resuming normal operation. when the idle (n) instruction is used in systems that have an externally generated serial clock (sclk), the serial clock rate may be faster than the processor?s reduced internal clock rate. under these conditions, interrupts must not be generated at a faster rate than can be serviced, due to the additional time the processor takes to come out of the idle state (a maximum of n processor cycles). system interface figure 1 shows typical basic system configurations with the adsp-218xn series, two serial devices, a byte-wide eprom, and optional external program and data overlay memories (mode-selectable). programmable wait state gen- eration allows the processor to connect easily to slow periph- eral devices. adsp-218xn series members also provide four external interrupts and two serial ports or six external interrupts and one serial port. host memory mode allows access to the full external data bus, but limits addressing to a single address bit (a0). through the use of external hard- ware, additional system peripherals can be added in this mode to generate and latch address signals. figure 1. basic system interface i n s e r t s y s t e m i n t e r f a c e d i a g r a m h e r e 1/2x clock or crystal fl0?2 clkin xtal serial device sclk1 rfs1 or irq0 tfs1 or irq1 dt1 or fo dr1 or fi sport1 serial device a0?a21 data byte memory i/o space (peripherals) data addr data addr 2048 locations overlay memory two 8k pm segments d23?0 a13?0 d23?8 a10?0 d15?8 d23?16 a13?0 14 24 sclk0 rfs0 tfs0 dt0 dr0 sport0 data23?0 adsp-218xn cs cs 1/2x clock or crystal clkin xtal fl0?2 serial device sclk1 rfs1 or irq0 tfs1 or irq1 dt1 or fo dr1 or fi sport1 16 idma port ird /d6 i wr /d7 is /d4 ial/d5 iack /d3 iad15-0 serial device sclk0 rfs0 tfs0 dt0 dr0 sport0 1 16 a0 data23?8 ioms bms dms cms br bg bgh pwd pwdack host memory mode full memory mode mode d/pf3 mode c/pf2 mode b/pf1 mode a/pf0 irq2 /pf7 irqe /pf4 irql0 /pf5 i rql1 /pf6 mode d/pf3 mode c/pf2 mode b/pf1 mode a/pf0 wr rd system interface or controller irq2 /pf7 irqe /pf4 irql0 /pf5 irql1 /pf6 ioms bms pms cms br bg bgh pwd pwdack wr rd adsp-218xn dms two 8k dm segments pms addr13?0
adsp-218xn series ?10? rev. 0 clock signals adsp-218xn series members can be clocked by either a crystal or a ttl-compatible clock signal. the clkin input cannot be halted, changed during oper- ation, nor operated below the specified frequency during normal operation. the only exception is while the processor is in the power-down state. for additional information, refer to the adsp-218x dsp hardware reference , for detailed information on this power-down feature. if an external clock is used, it should be a ttl-compatible signal running at half the instruction rate. the signal is connected to the processor?s clkin input. when an exter- nal clock is used, the xtal pin must be left unconnected. adsp-218xn series members use an input clock with a frequency equal to half the instruction rate; a 40 mhz input clock yields a 12.5 ns processor cycle (which is equivalent to 80 mhz). normally, instructions are executed in a single processor cycle. all device timing is relative to the internal instruction clock rate, which is indicated by the clkout signal when enabled. because adsp-218xn series members include an on-chip oscillator circuit, an external crystal may be used. the crystal should be connected across the clkin and xtal pins, with two capacitors connected as shown in figure 2 . capacitor values are dependent on crystal type and should be specified by the crystal manufacturer. a parallel- resonant, fundamental frequency, microprocessor-grade crystal should be used. a clock output (clkout) signal is generated by the pro- cessor at the processor?s cycle rate. this can be enabled and disabled by the clkodis bit in the sport0 autobuffer control register. reset the reset signal initiates a master reset of the adsp- 218xn. the reset signal must be asserted during the power-up sequence to assure proper initialization. reset during initial power-up must be held long enough to allow the internal clock to stabilize. if reset is activated any time after power-up, the clock continues to run and does not require stabilization time. the power-up sequence is defined as the total time required for the crystal oscillator circuit to stabilize after a valid v dd is applied to the processor, and for the internal phase-locked loop (pll) to lock onto the specific crystal frequency. a minimum of 2000 clkin cycles ensures that the pll has locked, but does not include the crystal oscillator start-up time. during this power-up sequence the reset signal should be held low. on any subsequent resets, the reset signal must meet the minimum pulse-width specification (t rsp ). the reset input contains some hysteresis; however, if an rc circuit is used to generate the reset signal, the use of an external schmitt trigger is recommended. the master reset sets all internal stack pointers to the empty stack condition, masks all interrupts, and clears the mstat register. when reset is released, if there is no pending bus request and the chip is configured for booting, the boot- loading sequence is performed. the first instruction is fetched from on-chip program memory location 0x0000 once boot loading completes. power supplies adsp-218xn series members have separate power supply connections for the internal (v ddint ) and external (v ddext ) power supplies. the internal supply must meet the 1.8 v requirement. the external supply can be connected to a 1.8 v, 2.5 v, or 3.3 v supply. all external supply pins must be connected to the same supply. all input and i/o pins can tolerate input voltages up to 3.6 v, regardless of the external supply voltage. this feature provides maximum flexibility in mixing 1.8 v, 2.5 v, or 3.3 v components. figure 2. external crystal connections clkin clkout xtal dsp
?11? rev. 0 adsp-218xn series modes of operation the adsp-218xn series modes of operation appear in table 7 . setting memory mode memory mode selection for the adsp-218xn series is made during chip reset through the use of the mode c pin. this pin is multiplexed with the dsp?s pf2 pin, so care must be taken in how the mode selection is made. the two meth- ods for selecting the value of mode c are active and passive. passive configuration passive configuration involves the use of a pull-up or pull- down resistor connected to the mode c pin. to minimize power consumption, or if the pf2 pin is to be used as an output in the dsp application, a weak pull-up or pull- down resistance, on the order of 10 k , can be used. this value should be sufficient to pull the pin to the desired level and still allow the pin to operate as a programmable flag output without undue strain on the processor?s output driver. for minimum power consumption during power- down, reconfigure pf2 to be an input, as the pull-up or pull- down resistance will hold the pin in a known state, and will not switch. active configuration active configuration involves the use of a three-statable external driver connected to the mode c pin. a driver?s output enable should be connected to the dsp?s reset signal such that it only drives the pf2 pin when reset is active (low). when reset is deasserted, the driver should be three-state, thus allowing full use of the pf2 pin as either an input or output. to minimize power consumption during power-down, configure the programmable flag as an output when connected to a three-stated buffer. this ensures that the pin will be held at a constant level, and will not oscillate should the three-state driver?s level hover around the logic switching point. idma ack configuration mode d = 0 and in host mode: iack is an active, driven signal and cannot be ?wire ored.? mode d = 1 and in host mode: iack is an open drain and requires an external pull-down, but multiple iack pins can be ?wire ored? together. table 7. modes of operation mode d mode c mode b mode a booting method x000bdma feature is used to load the first 32 program memory words from the byte memory space. program execution is held off until all 32 words have been loaded. chip is configured in full memory mode. 1 x010no automatic boot operations occur. program execution starts at external memory location 0. chip is configured in full memory mode. bdma can still be used, but the processor does not automat- ically use or wait for these operations. 0100bdma feature is used to load the first 32 program memory words from the byte memory space. program execution is held off until all 32 words have been loaded. chip is configured in host mode. iack has active pull-down. ( requires additonal hardware. ) 0101idma feature is used to load any internal memory as desired. program execution is held off until the host writes to internal program memory location 0. chip is configured in host mode. iack has active pull-down. 1 1100bdma feature is used to load the first 32 program memory words from the byte memory space. program execution is held off until all 32 words have been loaded. chip is configured in host mode; iack requires external pull-down. ( requires additonal hardware. ) 1101idma feature is used to load any internal memory as desired. program execution is held off until the host writes to internal program memory location 0. chip is configured in host mode. iack requires external pull-down. 1 1 considered as standard operating settings. using these configurations allows for easier design and better memory management.
adsp-218xn series ?12? rev. 0 memory architecture the adsp-218xn series provides a variety of memory and peripheral interface options. the key functional groups are program memory, data memory, byte memory, and i/o. refer to figure 3 through figure 8 , table 8 on page 14 , and table 9 on page 14 for pm and dm memor y allocations in the adsp-218xn series. figure 3. adsp-2184 memory architecture figure 4. adsp-2185 memory architecture figure 5. adsp-2186 memory architecture program memory pm overlay 1,2 (external pm) internal pm pm overlay 0 (reserved) reserved modeb = 0 0x3fff 0x2000 0x0000 0x0fff 0x1000 0x1fff 0x3fff 0x2000 0x0000 0x3fe0 0x3fdf 0x3000 0x2fff 0x1fff data memory dm overlay 1,2 (external dm) internal dm 32 memory-mapped control registers 4064 reserved words dm overlay 0 (reserved) program memory reserved external pm modeb = 1 0x3fff 0x2000 0x0000 0x1fff program memory pm overlay 1,2 (external pm) internal pm pm overlay 0 (reserved) modeb = 0 0x3fff 0x2000 0x0000 0x1fff 0x3fff 0x2000 0x0000 0x3fe0 0x3fdf 0x1fff data memory dm overlay 1,2 (external dm) internal dm 32 memory-mapped control registers dm overlay 0 (internal dm) program memory reserved external pm modeb = 1 0x3fff 0x2000 0x0000 0x1fff program memory pm overlay 1,2 (external pm) internal pm pm overlay 0 (reserved) modeb = 0 0x3fff 0x2000 0x0000 0x1fff 0x3fff 0x2000 0x0000 0x3fe0 0x3fdf 0x1fff data memory dm overlay 1,2 (external dm) internal dm 32 memory-mapped control registers dm overlay 0 (reserved) program memory reserved external pm modeb = 1 0x3fff 0x2000 0x0000 0x1fff
?13? rev. 0 adsp-218xn series figure 6. adsp-2187 memory architecture figure 7. adsp-2188 memory architecture figure 8. adsp-2189 memory architecture program memory pm overlay 1,2 (external pm) internal pm pm overlay 0,4,5 (internal pm) modeb = 0 0x3fff 0x2000 0x0000 0x1fff 0x3fff 0x2000 0x0000 0x3fe0 0x3fdf 0x1fff data memory dm overlay 1,2 (external dm) internal dm 32 memory-mapped control registers dm overlay 0,4,5 (internal dm) program memory reserved external pm modeb = 1 0x3fff 0x2000 0x0000 0x1fff program memory pm overlay 1,2 (external pm) internal pm pm overlay 0,4,5,6,7 (internal pm) modeb = 0 0x3fff 0x2000 0x0000 0x1fff 0x3fff 0x2000 0x0000 0x3fe0 0x3fdf 0x1fff data memory dm overlay 1,2 (external dm) internal dm 32 memory-mapped control registers dm overlay 0,4,5,6,7,8 (internal dm) program memory reserved external pm modeb = 1 0x3fff 0x2000 0x0000 0x1fff program memory pm overlay 1,2 (external pm) internal pm pm overlay 0,4,5 (internal pm) modeb = 0 0x3fff 0x2000 0x0000 0x1fff 0x3fff 0x2000 0x0000 0x3fe0 0x3fdf 0x1fff data memory dm overlay 1,2 (external dm) internal dm 32 memory-mapped control registers dm overlay 0,4,5,6,7 (internal dm) program memory reserved external pm modeb = 1 0x3fff 0x2000 0x0000 0x1fff
adsp-218xn series ?14? rev. 0 program memory program memory (full memory mode) is a 24-bit-wide space for storing both instruction opcodes and data. the adsp-218xn series has up to 48k words of program memory ram on chip, and the capability of accessing up to two 8k external memory overlay spaces, using the exter- nal data bus. program memory (host mode) allows access to all internal memory. external overlay access is limited by a single exter- nal address line (a0). external program execution is not available in host mode due to a restricted data bus that is only 16 bits wide. data memory data memory (full memory mode) is a 16-bit-wide space used for the storage of data variables and for memory- mapped control registers. the adsp-218xn series has up to 56k words of data memory ram on-chip. part of this space is used by 32 memory-mapped registers. support also exists for up to two 8k external memory overlay spaces through the external data bus. all internal accesses com- plete in one cycle. accesses to external memory are timed using the wait states specified by the dwait register and the wait state mode bit. data memory (host mode) allows access to all internal memory. external overlay access is limited by a single exter- nal address line (a0). table 8. pmovlay bits processor pmovlay memory a13 a12?0 adsp-2184n no internal overlay region not applicable not applicable not applicable adsp-2185n 0 internal overlay not applicable not applicable adsp-2186n no internal overlay region not applicable not applicable not applicable adsp-2187n 0, 4, 5 internal overlay not applicable not applicable adsp-2188n 0, 4, 5, 6, 7 internal overlay not applicable not applicable adsp-2189n 0, 4, 5 internal overlay not applicable not applicable all processors 1 external overlay 1 0 13 lsbs of address between 0x2000 and 0x3fff all processors 2 external overlay 2 1 13 lsbs of address between 0x2000 and 0x3fff table 9. dmovlay bits processor dmovlay memory a13 a12?0 adsp-2184n no internal overlay region not applicable not applicable not applicable adsp-2185n 0 internal overlay not applicable not applicable adsp-2186n no internal overlay region not applicable not applicable not applicable adsp-2187n 0, 4, 5 internal overlay not applicable not applicable adsp-2188n 0, 4, 5, 6, 7, 8 internal overlay not applicable not applicable adsp-2189n 0, 4, 5, 6, 7 internal overlay not applicable not applicable all processors 1 external overlay 1 0 13 lsbs of address between 0x0000 and 0x1fff all processors 2 external overlay 2 1 13 lsbs of address between 0x0000 and 0x1fff
?15? rev. 0 adsp-218xn series memory-mapped registers (new to the adsp-218xm and n series) adsp-218xn series members have three memory-mapped registers that differ from other adsp-21xx family dsps. the slight modifications to these registers (wait state con- trol, programmable flag and composite select control, and system control) provide the adsp-218xn?s wait state and bms control features. default bit values at reset are shown; if no value is shown, the bit is undefined at reset. reserved bits are shown on a grey field. these bits should always be written with zeros. i/o space (full memory mode) adsp-218xn series members support an additional exter- nal memory space called i/o space. this space is designed to support simple connections to peripherals (such as data converters and external registers) or to bus interface asic data registers. i/o space supports 2048 locations of 16-bit wide data. the lower eleven bits of the external address bus are used; the upper three bits are undefined. two instructions were added to the core adsp-2100 family instruction set to read from and write to i/o memory space. the i/o space also has four dedicated three-bit wait state registers, iowait0?3 as shown in figure 9 , which in combination with the wait state mode bit, specify up to 15 wait states to be automatically generated for each of four regions. the wait states act on address ranges, as shown in table 10 . note : in full memory mode, all 2048 locations of i/o space are directly addressable. in host memory mode, only address pin a0 is available; therefore, additional logic is required externally to achieve complete addressability of the 2048 i/o space locations. composite memory select adsp-218xn series members have a programmable memory select signal that is useful for generating memory select signals for memories mapped to more than one space. the cms signal is generated to have the same timing as each of the individual memory select signals (pms , dms , bms , ioms ) but can combine their functionality. each bit in the cmssel register, when set, causes the cms signal to be asserted when the selected memory select is asserted. for example, to use a 32k word memory to act as both program and data memory, set the pms and dms bits in the cmssel register and use the cms pin to drive the chip select of the memory, and use either dms or pms as the additional address bit. the cms pin functions like the other memory select signals with the same timing and bus request logic. a 1 in the enable bit causes the assertion of the cms signal at the same time as the selected memory select signal. all enable bits default to 1 at reset, except the bms bit. see figure 10 and figure 11 for illustration of the program- mable flag and composite control register and the system control register. table 10. wait states address range wait state register 0x000?0x1ff iowait0 and wait state mode select bit 0x200?0x3ff iowait1 and wait state mode select bit 0x400?0x5ff iowait2 and wait state mode select bit 0x600?0x7ff iowait3 and wait state mode select bit figure 9. wait state control register figure 10. programmable flag and composite control register i n s e r t w a i t s t a t e c o n t r o l r e g i s t e r dwait iowait3 iowait2 iowait1 iowait0 dm(0x3ffe) wait state control 1111111111111111 15141312111098 76543210 wait state mode select 0 = normal mode (pwait, dwait, iowait0?3 = n wait states, ranging from 0 to 7) 1 = 2n + 1 mode (pwait, dwait, iowait0?3 = 2n + 1 wait states, ranging from 0 to 15) bmwait cmssel 0 = disable cms 1 = enable cms dm(0x3fe6) pftype 0 = input 1 = output (where bit: 11-iom, 10-bm, 9-dm, 8-pm) 11 11101100000000 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 programmable flag and composite select control
adsp-218xn series ?16? rev. 0 byte memory select the adsp-218xn?s bms disable feature combined with the cms pin allows use of multiple memories in the byte memory space. for example, an eprom could be attached to the bms select, and a flash memory could be connected to cms . because at reset bms is enabled, the eprom would be used for booting. after booting, software could disable bms and set the cms signal to respond to bms , enabling the flash memory. byte memory the byte memory space is a bidirectional, 8-bit-wide, external memory space used to store programs and data. byte memory is accessed using the bdma feature. the byte memory space consists of 256 pages, each of which is 16k 8bits. the byte memory space on the adsp-218xn series sup- ports read and write operations as well as four different data formats. the byte memory uses data bits 15?8 for data. the byte memory uses data bits 23?16 and address bits 13?0 to create a 22-bit address. this allows up to a 4 meg 8 (32 megabit) rom or ram to be used without glue logic. all byte memory accesses are timed by the bmwait reg- ister and the wait state mode bit. byte memory dma (bdma, full memory mode) the byte memory dma controller ( figure 12 ) allows loading and storing of program instructions and data using the by te me mor y space . t he bd ma circ uit is able to ac ce ss the byte memory space while the processor is operating normally and steals only one dsp cycle per 8-, 16-, or 24- bit word transferred. the bdma circuit supports four different data formats that are selected by the btype register field. the appropriate number of 8-bit accesses are done from the byte memory space to build the word size selected. table 11 shows the data formats supported by the bdma circuit. unused bits in the 8-bit data memory formats are filled with 0s. the biad register field is used to specify the starting address for the on-chip memory involved with the transfer. the 14-bit bead register specifies the starting address for the external byte memory space. the 8-bit bmpage reg- ister specifies the starting page for the external byte memory space. the bdir register field selects the direction of the transfer. finally, the 14-bit bwcount register specifies the number of dsp words to transfer and initiates the bdma circuit transfers. bdma accesses can cross page boundaries during sequen- tial addressing. a bdma interrupt is generated on the com- pletion of the number of transfers specified by the bwcount register. the bwcount register is updated after each transfer so it can be used to check the status of the transfers. when it reaches zero, the transfers have finished and a bdma interrupt is generated. the bmpage and bead registers must not be accessed by the dsp during bdma operations. the source or destination of a bdma transfer will always be on-chip program or data memory. when the bwcount register is written with a nonzero value the bdma circuit starts executing byte memory accesses with wait states set by bmwait. these accesses continue until the count reaches zero. when enough access- es have occurred to create a destination word, it is trans- ferred to or from on-chip memory. the transfer takes one figure 11. system control register reserved, always set to 0 sport0 enable 0 = disable 1 = enable dm(0x3fff) system control sport1 enable 0 = disable 1 = enable sport1 configure 0 = fi, fo, irq0 , irq1 , sclk 1 = sport1 disable bms 0 = enable bms 1 = disable bms pwait program memory wait states 0000010000000111 1514131211109876543210 note: reserved bits are shown on a gray field. these bits should always be written with zeros. reserved set to 0 figure 12. bdma control register table 11. data formats btype internal memory space word size alignment 00 program memory 24 full word 01 data memory 16 full word 10 data memory 8 msbs 11 data memory 8 lsbs bdma control bmpage btype bdir 0 = load from bm 1 = store to bm bcr 0 = run during bdma 1 = halt during bdma 0000000000001000 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 dm (0x3fe3) bdma overlay bits (see table 12)
?17? rev. 0 adsp-218xn series dsp cycle. dsp accesses to external memory have priority over bdma byte memory accesses. the bdma context reset bit (bcr) controls whether the processor is held off while the bdma accesses are occur- ring. setting the bcr bit to 0 allows the processor to con- tinue operations. setting the bcr bit to 1 causes the processor to stop execution while the bdma accesses are occurring, to clear the context of the processor, and start execution at address 0 when the bdma accesses have completed. the bdma overlay bits specify the ovlay memory blocks to be accessed for internal memory. set these bits as indi- cated in. note : bdma cannot access external overlay memory regions 1 and 2. the bmwait field, which has four bits on adsp-218xn series members, allows selection up to 15 wait states for bdma transfers. internal memory dma port (idma port; host memory mode) the idma port provides an efficient means of communi- cation between a host system and adsp-218xn series members. the port is used to access the on-chip program memory and data memory of the dsp with only one dsp cycle per word overhead. the idma port cannot, however, be used to write to the dsp?s memory-mapped control reg- isters. a typical idma transfer process is shown as follows: 1. host starts idma transfer. 2. host checks iack control line to see if the dsp is busy. 3. host uses is and ial control lines to latch either the dma starting address (idmaa) or the pm/dm ovlay selection into the dsp?s idma control regis- ters. if bit 15 = 1, the value of bits 7?0 represent the idma ove rlay; bits 14 ? 8 must be set to 0. if bit 15 = 0, the value of bits 13?0 represent the starting address of internal memory to be accessed and bit 14 reflects pm or dm for access. set iddmovlay and idpmovlay bits in the idma overlay register as indicted in table 12 . 4. host uses is and ird (or iwr ) to read (or write) dsp internal memory (pm or dm). 5. host checks iack line to see if the dsp has completed the previous idma operation. 6. host ends idma transfer. the idma port has a 16-bit multiplexed address and data bus and supports 24-bit program memory. the idma port is completely asynchronous and can be written while the adsp-218xn is operating at full speed. the dsp memory address is latched and then automatically incremented after each idma transaction. an external device can therefore access a block of sequentially addressed memory by specifying only the starting address of the block. this increases throughput as the address does not have to be sent for each memory access. idma port access occurs in two phases. the first is the idma address latch cycle. when the acknowledge is as- serted, a 14-bit address and 1-bit destination type can be driven onto the bus by an external device. the address spec- ifies an on-chip memory location, the destination type spec- ifies whether it is a dm or pm access. the falling edge of the idma address latch signal (ial) or the missing edge of the idma select signal (is ) latches this value into the idmaa register. once the address is stored, data can be read from, or written to, the adsp-218xn?s on-chip memory. asserting the select line (is ) and the appropriate read or write line (ird and iwr respectively) signals the adsp-218xn that a par- ticular transaction is required. in either case, there is a one- processor-cycle delay for synchronization. the memory access consumes one additional processor cycle. once an access has occurred, the latched address is auto- matically incremented, and another access can occur. through the idmaa register, the dsp can also specify the starting address and data format for dma operation. asserting the idma port select (is ) and address latch enable (ial) directs the adsp-218xn to write the address onto the iad14?0 bus into the idma control register ( figure 13 ). if bit 15 is set to 0, idma latches the address. if bit 15 is set to 1, idma latches into the ovlay register. this register, also shown in figure 13 , is memory-mapped at address dm (0x3fe0). note that the latched address (idmaa) cannot be read back by the host. when bit 14 in 0x3fe7 is set to zero, short reads use the timing shown in figure 34 on page 37 . when bit 14 in 0x3fe7 is set to 1, timing in figure 35 on page 38 applies for short reads in short read only mode. set iddmovlay table 12. idma/bdma overlay bits processor idma/bdma pmovlay idma/bdma dmovlay adsp-2184n adsp-2185n adsp-2186n adsp-2187n adsp-2188n 0 0 0 0, 4, 5 0, 4, 5, 6, 7 0 0 0 0, 4, 5 0, 4, 5, 6, 7, 8 adsp-2189n 0, 4, 5 0, 4, 5, 6, 7
adsp-218xn series ?18? rev. 0 and idpmovlay bits in the idma overlay register as indicated in table 12 . refer to the adsp-218x dsp hard- ware reference for additional details. note : in full memory mode all locations of 4m-byte memory space are directly addressable. in host memory mode, only address pin a0 is available, requiring additional external logic to provide address information for the byte. bootstrap loading (booting) adsp-218xn series members have two mechanisms to allow automatic loading of the internal program memory after reset. the method for booting is controlled by the mode a, b, and c configuration bits. when the mode pins specify bdma booting, the adsp- 218xn initiates a bdma boot sequence when reset is released. the bdma interface is set up during reset to the following defaults when bdma booting is specified: the bdir, bmpage, biad, and bead registers are set to 0, the btype register is set to 0 to specify program memory 24- bit words, and the bwcount register is set to 32. this causes 32 words of on-chip program memory to be loaded from byte memory. these 32 words are used to set up the bdma to load in the remaining program code. the bcr bit is also set to 1, which causes program execution to be held off until all 32 words are loaded into on-chip program memory. execution then begins at address 0. the adsp-2100 family development software (revision 5.02 and later) fully supports the bdma booting feature and can generate byte memory space-compatible boot code. the idle instruction can also be used to allow the proces- sor to hold off execution while booting continues through the bdma interface. for bdma accesses while in host mode, the addresses to boot memory must be constructed externally to the adsp-218xn. the only memory address bit provided by the processor is a0. idma port booting adsp-218xn series members can also boot programs through its internal dma port. if mode c = 1, mode b = 0, and mode a = 1, the adsp-218xn boots from the idma port. idma feature can load as much on-chip memory as desired. program execution is held off until the host writes to on-chip program memory location 0. bus request and bus grant adsp-218xn series members can relinquish control of the data and address buses to an external device. when the external device requires access to memory, it asserts the bus request (br ) signal. if the adsp-218xn is not performing an external memory access, it responds to the active br input in the following processor cycle by:  three-stating the data and address buses and the pms , dms , bms , cms , ioms , rd , wr output drivers,  asserting the bus grant (bg ) signal, and  halting program execution. if go mode is enabled, the adsp-218xn will not halt program execution until it encounters an instruction that requires an external memory access. if an adsp-218xn series member is performing an external memory access when the external device asserts the br signal, it will not three-state the memory interfaces nor assert the bg signal until the processor cycle after the access completes. the instruction does not need to be completed when the bus is granted. if a single instruction requires two external memory accesses, the bus will be granted between the two accesses. when the br signal is released, the processor releases the bg signal, re-enables the output drivers, and continues program execution from the point at which it stopped. the bus request feature operates at all times, including when the processor is booting and when reset is active. the bgh pin is asserted when an adsp-218xn series member requires the external bus for a memory or bdma access, but is stopped. the other device can release the bus by deasserting bus request. once the bus is released, the adsp-218xn deasserts bg and bgh and executes the external memory access. flag i/o pins adsp-218xn series members have eight general-purpose programmable input/output flag pins. they are controlled by two memory-mapped registers. the pftype register determines the direction, 1 = output and 0 = input. the pfdata register is used to read and write the values on the pins. data being read from a pin configured as an input is synchronized to the adsp-218xn?s clock. bits that are pro- grammed as outputs will read the value being output. the pf pins default to input during reset. figure 13. idma ovlay/control registers idma overlay dm (0x3fe7) reserved set to 0 iddmovlay idpmovlay 000000000000000 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 short read only 0 = disable 1 = enable idma control (u = undefined at reset) dm (0x3fe0) idmaa address u uuuuuuuuuuuuuu 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 idmad destination memory type 0 = pm 1 = dm note: reserved bits are shown on a gray field. these bits should always be written with zeros. 0 reserved set to 0 0 reserved set to 0 (see table 12)
?19? rev. 0 adsp-218xn series in addition to the programmable flags, adsp-218xn series members have five fixed-mode flags, fi, fo, fl0, fl1, and fl2. fl0?fl2 are dedicated output flags. fi and fo are available as an alternate configuration of sport1. note: pins pf0, pf1, pf2, and pf3 are also used for device configuration during reset. instruction set description the adsp-218xn series assembly language instruction set has an algebraic syntax that was designed for ease of coding and readability. the assembly language, which takes full advantage of the processor?s unique architecture, offers the following benefits:  the algebraic syntax eliminates the need to remember cryptic assembler mnemonics. for example, a typical arithmetic add instruction, such as ar = ax0 + ay0, resembles a simple equation.  every instruction assembles into a single, 24-bit word that can execute in a single instruction cycle.  the syntax is a superset adsp-2100 family assembly language and is completely source and object code com- patible with other family members. programs may need to be relocated to utilize on-chip memory and conform to the adsp-218xn?s interrupt vector and reset vector map.  sixteen condition codes are available. for conditional jump, call, return, or arithmetic instructions, the condition can be checked and the operation executed in the same instruction cycle.  multifunction instructions allow parallel execution of an arithmetic instruction, with up to two fetches or one write to processor memory space, during a single instruc- tion cycle. designing an ez-ice-compatible system adsp-218xn series members have on-chip emulation support and an ice-port, a special set of pins that interface to the ez-ice. these features allow in-circuit emulation without replacing the target system processor by using only a 14-pin connection from the target system to the ez-ice. target systems must have a 14-pin connector to accept the ez-ice?s in-circuit probe, a 14-pin plug. note: the ez-ice uses the same v dd voltage as the v dd voltage used for v ddext . because the input pins of the adsp-218xn series members are tolerant to input voltages up to 3.6 v, regardless of the value of v ddext , the voltage setting for the ez-ice must not exceed 3.3 v. issuing the chip reset command during emulation causes the dsp to perform a full chip reset, including a reset of its memory mode. therefore, it is vital that the mode pins are set correctly prior to issuing a chip reset command from the emulator user interface. if a passive method of maintain- ing mode information is being used (as discussed in setting memory mode on page 11 ), it does not matter that the mode information is latched by an emulator reset. however, if the reset pin is being used as a method of setting the value of the mode pins, the effects of an emulator reset must be taken into consideration. one method of ensuring that the values located on the mode pins are those desired is to construct a circuit like the one shown in figure 14 . this circuit forces the value located on the mode a pin to logic high, regardless of whether it is latched via the reset or ereset pin. the ice-port interface consists of the following adsp- 218xn pins: ebr , eint , ee, ebg , eclk, ereset , elin, ems , and elout. these adsp-218xn pins must be connected only to the ez-ice connector in the target system. these pins have no function except during emulation, and do not require pull- up or pull-down resistors. the traces for these signals between the adsp-218xn and the connector must be kept as short as possible, no longer than 3 inches. the following pins are also used by the ez-ice: br , bg , reset , and gnd. the ez-ice uses the ee (emulator enable) signal to take control of the adsp-218xn in the target system. this causes the processor to use its ereset , ebr , and ebg pins instead of the reset , br , and bg pins. the bg output is three-stated. these signals do not need to be jumper-isolated in the system. the ez-ice connects to the target system via a ribbon cable and a 14-pin female plug. the female plug is plugged onto the 14-pin connector (a pin strip header) on the target board. target board connector for ez-ice probe the ez-ice connector (a standard pin strip header) is shown in figure 15 . this connector must be added to the target board design to use the ez-ice. be sure to allow enough room in the system to fit the ez-ice probe onto the 14-pin connector. the 14-pin, 2-row pin strip header is keyed at the pin 7 location?pin 7 must be removed from the header. the pins must be 0.025 inch square and at least 0.20 inch in length. figure 14. mode a pin/ez-ice circuit programmable i/o mode a/pf0 reset ereset adsp-218xn 1k
adsp-218xn series ?20? rev. 0 pin spacing should be 0.1 0.1 inches. the pin strip header must have at least 0.15 inch clearance on all sides to accept the ez-ice probe plug. pin strip headers are available from vendors such as 3m, mckenzie, and samtec. target memory interface for the target system to be compatible with the ez-ice emulator, it must comply with the memory interface guide- lines listed below. pm, dm, bm, iom, and cm design the program memory (pm), data memory (dm), byte memory (bm), i/o memory (iom), and composite memory (cm) external interfaces to comply with worst- case device timing requirements and switching characteris- tics as specified in this data sheet. the performance of the ez-ice may approach published worst-case specification for some memory access timing requirements and switching characteristics. note: if the target does not meet the worst-case chip spec- ification for memory access parameters, the circuitry may not be able to be emulated at the desired clkin frequency. depending on the severity of the specification violation, the system may be difficult to manufacture, as dsp compo- nents statistically vary in switching characteristic and timing requirements, within published limits. restriction: all memory strobe signals on the adsp- 218xn (rd , wr , pms , dms , bms , cms , and ioms ) used in the target system must have 10 k pull-up resistors connected when the ez-ice is being used. the pull-up resistors are necessary because there are no internal pull- ups to guarantee their state during prolonged three-state conditions resulting from typical ez-ice debugging ses- sions. these resistors may be removed when the ez-ice is not being used. target system interface signals when the ez-ice board is installed, the performance on some system signals changes. design the system to be com- patible with the following system interface signal changes introduced by the ez-ice board:  ez-ice emulation introduces an 8 ns propagation delay between the target circuitry and the dsp on the reset signal.  ez-ice emulation introduces an 8 ns propagation delay between the target circuitry and the dsp on the br signal.  ez-ice emulation ignores reset and br, when single-stepping.  ez-ice emulation ignores reset and br when in emulator space (dsp halted).  ez-ice emulation ignores the state of target br in certain modes. as a result, the target system may take control of the dsp?s external memory bus only if bus grant (bg ) is asserted by the ez-ice board?s dsp. figure 15. target board connector for ez-ice 1 2 3 4 56 7 8 910 11 12 13 14 gnd key (no pin) reset br bg top view ebg ebr elout ee eint elin eclk ems ereset
?21? rev. 0 adsp-218xn series specifications recommended operating conditions parameter 1 k grade (commercial) b grade (industrial) unit min max min max v ddint 1.71 1.89 1.8 2.0 v v ddext 1.71 3.6 1.8 3.6 v v input 2 v il = ? 0.3 v ih = + 3.6 v il = ? 0.3 v ih = + 3.6 v t amb 0 70?40 +85 c 1 specifications subject to change without notice. 2 the adsp-218xn is 3.3 v tolerant (always accepts up to 3.6 v max v ih ), but voltage compliance (on outputs, v oh ) depends on the input v ddext , because v oh (max) approximately equals v ddext (max). this 3.3 v tolerance applies to bidirectional pins (d23?d0, rfs0, rfs1, sclk0, sclk1, tfs0, tfs1, a13 ?a1, pf7?pf0) and input-only pins (clkin, reset , br , dr0, dr1, pwd ). electrical characteristics parameter 1 description test conditions min typ max unit v ih hi-level input voltage 2, 3 @ v ddext = 1.71 to 2.0 v, v ddint = max @ v ddext = 2.1 to 3.6 v, v ddint = max 1.25 v v il lo-level input voltage 2, 3 @ v ddext  2.0 v, v ddint = min @ v ddext  2.0 v, v ddint = min 0.6 0.7 v v v oh hi-level output voltage 2, 4, 5 @ v ddext = 1.71 to 2.0 v, i oh = ? 0.5 ma @ v ddext = 2.1 to 2.9 v, i oh = ? 0.5 ma @ v ddext = 3.0 to 3.6 v, i oh = ? 0.5 ma @ v ddext = 1.71 to 3.6 v, i oh = ? 100 a 6 1.35 2.0 2.4 v ddext ? 0.3 v v v v v ol lo-level output voltage 2, 4, 5 @ v ddext = 1.71 to 3.6 v, i ol = 2.0 ma 0.4 v i ih hi-level input current 3 @ v ddint = max, v in = 3.6 v 10 a i il lo-level input current 3 @ v ddint = max, v in = 0 v 10 a i ozh three-state leakage current 7 @ v ddext = max, v in = 3.6 v 8 10 a i ozl three-state leakage current 7 @ v ddext = max, v in = 0 v 8 10 a i dd supply current (idle) 9 @ v ddint = 1.8 v, t ck = 12.5 ns, t amb = 25 c 6ma i dd supply current (dynamic) 10 @ v ddint = 1.8 v, t ck = 12.5 ns 11 , t amb = 25 c 25 ma
adsp-218xn series ?22? rev. 0 absolute maximum ratings i dd supply current (idle) 9 @ v ddint = 1.9 v, t ck = 12.5 ns, t amb = 25 c 6.5 ma i dd supply current (dynamic) 10 @ v ddint = 1.9 v, t ck = 12.5 ns 11 , t amb = 25 c 26 ma i dd supply current (power- down) 12 @ v ddint = 1.8 v, t amb = 25 c in lowest power mode 100 a c i input pin capacitance 3, 6 @ v in = 1.8 v, f in = 1.0 mhz, t amb = 25 c 8pf c o output pin capacitance 6, 7, 12, 13 @ v in = 1.8 v, f in = 1.0 mhz, t amb = 25 c 8pf 1 specifications subject to change without notice. 2 bidirectional pins: d23?0, rfs0, rfs1, sclk0, sclk1, tfs0, tfs1, a13?1, pf7?0. 3 input only pins: clkin, reset , br , dr0, dr1, pwd . 4 output pins: bg , pms , dms , bms , ioms , cms , rd , wr , pwdack, a0, dt0, dt1, clkout, fl2 ?fl0, bgh . 5 although specified for ttl outputs, all adsp-218xn outputs are cmos-compatible and will drive to v ddext and gnd, assuming no dc loads. 6 guaranteed but not tested. 7 three-statable pins: a13?a1, d23?d0, pms , dms , bms, ioms , cms , rd , wr , dt0, dt1, sclk0, sclk1, tfs0, tfs1, rfs0, rfs1, pf7?pf0. 8 0 v on br . 9 idle refers to adsp-218xn state of operation during execution of idle instruction. deasserted pins are driven to either v dd or gnd. 10 i dd measurement taken with all instructions executing from internal memory. 50% of the instructions are multifunction (types 1, 4, 5, 12, 13, 14), 30% are type 2 and type 6, and 20% are idle instructions. 11 v in = 0 v and 3 v. for typical values for supply currents, refer to power dissipation section. 12 see adsp-218x dsp hardware reference for details. 13 output pin capacitance is the capacitive load for any three-stated output pin. electrical characteristics (continued) parameter 1 description test conditions min typ max unit internal supply voltage (v ddint ) 1 . . . . . . . . ?0.3 v to +2.2 v external supply voltage (v ddext ) . . . . . . . . ?0.3 v to +4.0 v input voltage 2 . . . . . . . . . . . . . . . . . . . . . . ?0.5 v to +4.0 v output voltage swing 3 . . . . . . . . . . .?0.5 v to v ddext +0.5 v operating temperature range . . . . . . . . . . . ?40oc to +85oc storage temperature range . . . . . . . . . . . . ?65oc to +150oc lead temperature (5 sec) lqfp . . . . . . . . . . . . . . . ?280oc 1 stresses greater than those listed above may cause permanent damage to the device. these are stress ratings only. functional operation of the device at these or any other conditions greater than those indicated in the operational sections of this specification is not implied. exposure to absolute maximum rating condi- tions for extended periods may affect device reliability. 2 applies to bidirectional pins (d23?0, rfs0, rfs1, sclk0, sclk1, tfs0, tfs1, a13?1, pf7?0) and input only pins (clkin, reset , br , dr0, dr1, pwd ). 3 applies to output pins (bg , pms , dms , bms , ioms , cms , rd , wr , pwdack, a0, dt0, dt1, clkout, fl2?0, bgh ).
?23? rev. 0 adsp-218xn series esd sensitivity power dissipation to determine total power dissipation in a specific applica- tion, the following equation should be applied for each output: c v dd 2 f where: c = load capacitance, f = output switching frequency. example: in an application where external data memory is used and no other outputs are active, power dissipation is calculated as follows: assumptions:  external data memory is accessed every cycle with 50% of the address pins switching.  external data memory writes occur every other cycle with 50% of the data pins switching.  each address and data pin has a 10 pf total load at the pin.  application operates at v ddext = 3.3 v and t ck = 30 ns. total power dissipation = p int + ( c v ddext 2 f) p int = internal power dissipation from figure 20 on page 26 . (c v ddext 2 f) is calculated for each output, as in the example in table 13 . total power dissipation for this example is p int +45.72 mw. esd (electrostatic discharge) sensitive device. electrostatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge without detection. although the adsp-218xn features proprietary esd protection circuitry, permanent damage may occur on devices subjected to high-energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid perfor- mance degradation or loss of functionality. caution table 13. example power dissipation calculation parameters # of pins c (pf) v ddext 2 (v) f (mhz) pd (mw) address 7 10 3.3 2 20.0 15.25 data output, wr 910 3.3 2 20.0 19.59 rd 110 3.3 2 20.0 2.18 clkout, dms 210 3.3 2 40.0 8.70 45.72
adsp-218xn series ?24? rev. 0 environmental conditions te s t c o n d i t i o n s output disable time output pins are considered to be disabled when they have stopped driving and started a transition from the measured output high or low voltage to a high impedance state. the output disable time (t dis ) is the difference of t measured and t decay , as shown in figure 18 . the time is the interval from when a reference signal reaches a high or low voltage level t o w h e n t h e o ut p u t vo lt a g e s h ave c h a ng e d by 0 .5 v f r o m th e measured output high or low voltage. the decay time, t decay , is dependent on the capacitive load, c l , and the current load, i l , on the output pin. it can be approximated by the following equation: from which is calculated. if multiple pins (such as the data bus) are disabled, the measurement value is that of the last pin to stop driving. output enable time output pins are considered to be enabled when they have made a transition from a high-impedance state to when they start driving. the output enable time (t ena ) is the interval from when a reference signal reaches a high or low voltage level to when the output has reached a specified high or low trip point, as shown in figure 18 . if multiple pins (such as the data bus) are enabled, the measurement value is that of the first pin to start driving. table 14. thermal resistance rating description 1 1 where the ambient temperature rating (t amb ) is: t amb = t case ? (pd ca ) t case = case temperature in c pd = power dissipation in w symbol lqfp ( c/w) mini- bga ( c/w) thermal resistance (case-to-ambient) ca 48 63.3 thermal resistance (junction-to-ambient) ja 50 70.7 thermal resistance (junction-to-case) jc 27.4 figure 16. voltage reference levels for ac measurements (except output enable/disable) figure 17. equivalent loading for ac measurements (including all fixtures) 1.5v output input 1.5v 2.0v 0.8v to output pin 50pf 1.5v i oh i ol figure 18. output enable/disable 2.0v 1.0v t ena reference signal output t decay v oh (measured) output stops driving output starts driving t dis t measured v ol (measured) v oh (measured) ? 0.5v v ol (measured) + 0.5v high-impedance state. test conditions cause this voltage level to be approximately 1.5v. v oh (measured ) v ol (measured ) t decay c l 0.5 v i l ------------------------- = t dis t measured t decay ? =
?25? rev. 0 adsp-218xn series timing specifications this section contains timing information for the dsp?s external signals. general notes use the exact timing information given. do not attempt to derive parameters from the addition or subtraction of others. while addition or subtraction would yield meaning- ful results for an individual device, the values given in this data sheet reflect statistical variations and worst cases. con- sequently, parameters cannot be added up meaningfully to derive longer times. timing notes switching characteristics specify how the processor changes its signals. designers have no control over this timing? circuitry external to the processor must be designed for compatibility with these signal characteristics. switching characteristics tell what the processor will do in a given circumstance. switching characteristics can also be used to ensure that any timing requirement of a device connected to the processor (such as memory) is satisfied. timing requirements apply to signals that are controlled by circuitry external to the processor, such as the data input for a read operation. timing requirements guarantee that the processor operates correctly with other devices. frequency dependency for timing specifications t ck is defined as 0.5 t cki . the adsp-218xn uses an input clock with a frequency equal to half the instruction rate. for example, a 40 mhz input clock (which is equivalent to 25 ns) yields a 12.5 ns processor cycle (equivalent to 80 mhz). t ck values within the range of 0.5 t cki period should be substituted for all relevant timing parameters to obtain the specification value. example: t ckh = 0.5 t ck ? 2 ns = 0.5 (12.5 ns) ? 2 ns= 4.25 ns output drive currents figure 19 shows typical i-v characteristics for the output drivers on the adsp-218xn series.the curves represent the current drive capability of the output drivers as a function of output voltage. figure 21 shows the typical power-down supply current. capacitive loading figure 22 and figure 23 on page 26 show the capacitive loading characteristics of the adsp-218xn. figure 19. typical output driver characteristics for v ddext at 3.6 v, 3.3 v, 2.5 v, and 1.8 v v ol source voltage ? v 00.51.0 s o u r c e c u r r e n t ? m a 60 0 ?20 ?40 ?60 40 20 v ddext = 3.6v @ ?40 c v ddext = 3.3v @ +25 c v ddext = 1.8/2.5v @ +85 c v ddext = 2.5v @ +85 c v ddext = 3.6v @ ?40 c 80 ?80 1.5 2.0 2.5 3.0 3.5 4.0 v ddext = 1.8/2.5v @ +85 c v oh v ddext = 3.3v @ +25 c v ddext = 1.8v @ +85 c
adsp-218xn series ?26? rev. 0 figure 20. power vs. frequency 2.0 p o w e r ( p i d l e n ) ? m w 8.5mw 3.8mw 3.4mw 4.3mw 10.5mw power, idle n modes 2 1/ t ck ? mhz 4.0 6.0 8.0 10 .0 12 .0 0.0 5.0 p o w e r ( p i d l e ) ? m w power, idle 1, 2, 4 1/ t ck ? mhz 6.0 7.0 8.0 9.0 10.0 11.0 1/ t ck ? mhz 60 55 power, internal 1, 2, 3 p o w e r ( p i n t ) ? m w 20 65 70 75 80 85 35 40 45 50 55 60 25 30 notes valid for all temperature grades. power reflects device operating with no output loads. typical power dissipation at 1.8v or 1.9v v ddint and 25c, except where specified. i dd measurement taken with all instructions executing from internal memory. 50% of the instructions are multifunction (types 1, 4, 5, 12, 13, 14), 30% are type 2 and type 6, and 20% are idle instructions. idle refers to state of operation during execution of idle instruction. deasserted pins are driven to either v dd or gnd. 1 2 3 4 42mw 55mw v d d i n t = 2 . 0 v 50mw v d d i n t = 1 . 9 v 38mw 34mw 45mw v d d i n t = 1 . 8 v 30mw 40mw v d d i n t = 1 . 7 1 v 60 55 65 70 75 80 85 12 .0 13 .0 14 .0 15 .0 10.5mw 13.5mw v d d i n t = 2 . 0 v 12mw v d d i n t = 1 . 9 v 9.5mw 8.5mw 10.5mw v d d i n t = 1 . 8 v 7.5mw 9mw v d d i n t = 1 . 7 1 v 60 55 65 70 75 80 85 4.9mw 4.2mw 4.7mw 5.2mw 12.0mw 9.5mw v dd core = 1.9v v dd core = 1.8v figure 21. typical power-down current figure 22. typical output rise time vs. load capacitance (at maximum ambient operating temperature) figure 23. typical output valid delay or hold vs. load capacitance, c l (at maximum ambient operating temperature) notes 1. reflects adsp-218xn operation in lowest power mode. (see the "system interface" chapter of the adsp-218x dsp hardware reference for details.) 2. current reflects device operating with no input loads. v dd = 2.0v v dd = 1.9v v dd = 1.8v v dd = 1.7v temperature ? c 1000 100 0 085 25 55 10 c u r r e n t ( l o g s c a l e ) ? a c l ? pf r i s e t i m e ( 0 . 4 v ? 2 . 4 v ) ? n s 30 300 0 50 100 150 200 250 25 15 10 5 0 20 t = 85 c v dd = 0v to 2.0v c l ? pf 14 0 v a l i d o u t p u t d e l a y o r h o l d ? n s 50 100 150 250 200 12 4 2 ?2 10 8 nominal 16 18 6 ?4 ?6
?27? rev. 0 adsp-218xn series clock signals and reset table 15. clock signals and reset parameter min max unit timing requirements: t cki clkin period 25 40 ns t ckil clkin width low 8 ns t ckih clkin width high 8 ns switching characteristics: t ckl clkout width low 0.5t ck ? 3 ns t ckh clkout width high 0.5t ck ? 3 ns t ckoh clkin high to clkout high 0 8 ns control signals timing requirements: t rsp reset width low 5t ck 1 ns t ms mode setup before reset high 7 ns t mh mode hold after reset high 5 ns 1 applies after power-up sequence is complete. internal phase lock loop requires no more than 2000 clkin cycles, assuming stable clkin (not including crystal oscillator start-up time). figure 24. clock signals and reset t ckoh t cki t ckih t ckil t ckh t ckl t mh t ms clkin clkout mode a d reset t rsp
adsp-218xn series ?28? rev. 0 interrupts and flags table 16. interrupts and flags parameter min max unit timing requirements: t ifs irqx , fi, or pfx setup before clkout low 1, 2, 3, 4 0.25t ck + 10 ns t ifh irqx , fi, or pfx hold after clkout high 1, 2, 3, 4 0.25t ck ns switching characteristics: t foh flag output hold after clkout low 5 0.5t ck ? 5 ns t fod flag output delay from clkout low 5 0.5t ck + 4 ns 1 if irqx and fi inputs meet t ifs and t ifh setup/hold requirements, they will be recognized during the current clock cycle; otherwise the signals will be recognized on the following cycle. (refer to ?interrupt controller operation? in the program control chapter of the adsp-218x dsp hardware reference for further information on interrupt servicing.) 2 edge-sensitive interrupts require pulsewidths greater than 10 ns; level-sensitive interrupts must be held low until serviced. 3 irqx = irq0 , irq1 , irq2 , irql0 , irql1 , irqle . 4 pfx = pf0, pf1, pf2, pf3, pf4, pf5, pf6, pf7. 5 flag outputs = pfx, fl0, fl1, fl2, fo. figure 25. interrupts and flags t fod t foh t ifh t ifs clkout flag outputs irqx fi pfx
?29? rev. 0 adsp-218xn series bus request?bus grant table 17. bus request?bus grant parameter min max unit timing requirements: t bh br hold after clkout high 1 0.25t ck + 2 ns t bs br setup before clkout low 1 0.25t ck + 8 ns switching characteristics: t sd clkout high to xms , rd , wr disable 2 0.25t ck + 8 ns t sdb xms , rd , wr disable to bg low 0ns t se bg high to xms , rd , wr enable 0ns t sec xms , rd , wr enable to clkout high 0.25t ck ? 3 ns t sdbh xms , rd , wr disable to bgh low 3 0ns t seh bgh high to xms , rd , wr enable 3 0ns 1 br is an asynchronous signal. if br meets the setup/hold requirements, it will be recognized during the current clock cycle; otherwise the signal will be recognized on the following cycle. refer to the adsp-2100 family user?s manual for br /bg cycle relationships. 2 xms = pms , dms , cms , ioms , bms . 3 bgh is asserted when the bus is granted and the processor or bdma requires control of the bus to continue. figure 26. bus request?bus grant clkout t sd t sdb t se t sec t sdbh t seh t bs br t bh clkout pms , dms bms , rd cms , wr, ioms bg bgh
adsp-218xn series ?30? rev. 0 memory read table 18. memory read parameter min max unit timing requirements: t rdd rd low to data valid 1 1 w = wait states x t ck . 0.5t ck ? 5 + w ns t aa a13?0, xms to data valid 2 2 xms = pms , dms , cms , ioms , bms . 0.75t ck ? 6 + w ns t rdh data hold from rd high 0 ns switching characteristics: t rp rd pulsewidth 0.5t ck ? 3 + w ns t crd clkout high to rd low 0.25t ck ? 2 0.25t ck + 4 ns t asr a13?0, xms setup before rd low 0.25t ck ? 3 ns t rda a13?0, xms hold after rd deasserted 0.25t ck ? 3 ns t rwr rd high to rd or wr low 0.5t ck ? 3 ns figure 27. memory read clkout a0?a13 d0?d23 t rda t rwr t rp t asr t crd t rdd t aa t rdh dms , pms , bms , ioms , cms rd wr
?31? rev. 0 adsp-218xn series memory write table 19. memory write parameter min max unit switching characteristics: t dw data setup before wr high 1 0.5t ck ? 4 + w ns t dh data hold after wr high 0.25t ck ? 1 ns t wp wr pulsewidth 0.5t ck ? 3 + w ns t wde wr low to data enabled 0ns t asw a13?0, xms setup before wr low 2 0.25t ck ? 3 ns t ddr data disable before wr or rd low 0.25t ck ? 3 ns t cwr clkout high to wr low 0.25t ck ? 2 0.25t ck + 4 ns t aw a13?0, xms setup before wr deasserted 0.75t ck ? 5 + w ns t wra a13?0, xms hold after wr deasserted 0.25t ck ? 1 ns t wwr wr high to rd or wr low 0.5t ck ? 3 ns 1 w = wait states t ck . 2 xms = pms , dms , cms , ioms , bms . figure 28. memory write clkout a0?a13 d0?d23 t wp t aw t cwr t dh t wde t dw t asw t wwr t wra t ddr dms , pms , bms , cms , ioms rd wr
adsp-218xn series ?32? rev. 0 serial ports table 20. serial ports parameter min max unit timing requirements: t sck sclk period 30 ns t scs dr/tfs/rfs setup before sclk low 4 ns t sch dr/tfs/rfs hold after sclk low 7 ns t scp sclkin width 12 ns switching characteristics: t cc clkout high to sclkout 0.25t ck 0.25t ck + 6 ns t scde sclk high to dt enable 0 ns t scdv sclk high to dt valid 12 ns t rh tfs/rfs out hold after sclk high 0 ns t rd tfs/rfs out delay from sclk high 12 ns t scdh dt hold after sclk high 0 ns t tde tfs (alt) to dt enable 0 ns t tdv tfs (alt) to dt valid 12 ns t scdd sclk high to dt disable 12 ns t rdv rfs (multichannel, frame delay zero) to dt valid 12 ns figure 29. serial ports clkout sclk tfs out rfs out dt alternate frame mode t cc t cc t scs t sch t rh t scde t scdh t scdd t tde t rdv multichannel mode, frame delay 0 (mfd = 0) dr tfs i n rfs in rfs out tfs out t tdv t scdv t rd t scp t sck tfs in rfs in alternate frame mode t rdv multichannel mode, frame delay 0 (mfd = 0) t tdv t tde t scp
?33? rev. 0 adsp-218xn series idma address latch table 21. idma address latch parameter min max unit timing requirements: t ialp duration of address latch 1, 2 10 ns t iasu iad15?0 address setup before address latch end 2 5ns t iah iad15?0 address hold after address latch end 2 3ns t ika iack low before start of address latch 2, 3 0ns t ials start of write or read after address latch end 2, 3 3ns t iald address latch start after address latch end 1, 2 2ns 1 start of address latch = is low and ial high. 2 end of address latch = is high or ial low. 3 start of write or read = is low and iwr low or ird low. figure 30. idma address latch iack ial is iad15?0 ird or iw r t ika t ialp t iasu t iah t iasu t ials t iah t ialp t iald
adsp-218xn series ?34? rev. 0 idma write, short write cycle table 22. idma write, short write cycle parameter min max unit timing requirements: t ikw iack low before start of write 1 0ns t iwp duration of write 1, 2 10 ns t idsu iad15?0 data setup before end of write 2, 3, 4 3ns t idh iad15?0 data hold after end of write 2, 3, 4 2ns switching characteristic: t ikhw start of write to iack high 10 ns 1 start of write = is low and iwr low. 2 end of write = is high or iwr high. 3 if write pulse ends before iack low, use specifications t idsu , t idh . 4 if write pulse ends after iack low, use specifications t iksu , t ikh . figure 31. idma write, short write cycle iad15?0 data t ikhw t ikw t idsu iack t iwp t idh is iwr
?35? rev. 0 adsp-218xn series idma write, long write cycle table 23. idma write, long write cycle parameter min max unit timing requirements: t ikw iack low before start of write 1 0ns t iksu iad15?0 data setup before end of write 2, 3, 4 0.5t ck + 5 ns t ikh iad15?0 data hold after end of write 2, 3, 4 0ns switching characteristics: t iklw start of write to iack low 4 1.5t ck ns t ikhw start of write to iack high 10 ns 1 start of write = is low and iwr low. 2 if write pulse ends before iack low, use specifications t idsu , t idh . 3 if write pulse ends after iack low, use specifications t iksu , t ikh . 4 this is the earliest time for iack low from start of write. for idma write cycle relationships, please refer to the adsp-2100 family user?s manual . figure 32. idma write, long write cycle iad15?0 data t ikhw t ikw iack is iwr t iklw t ikh t iksu
adsp-218xn series ?36? rev. 0 idma read, long read cycle table 24. idma read, long read cycle parameter min max unit timing requirements: t ikr iack low before start of read 1 0ns t irk end of read after iack low 2 2ns switching characteristics: t ikhr iack high after start of read 1 10 ns t ikds iad15?0 data setup before iack low 0.5t ck ? 3 ns t ikdh iad15 ?0 data hold after end of read 2 0ns t ikdd iad15?0 data disabled after end of read 2 10 ns t irde iad15?0 previous data enabled after start of read 0 ns t irdv iad15?0 previous data valid after start of read 11 ns t irdh1 iad15?0 previous data hold after start of read (dm/pm1) 3 2t ck ? 5 ns t irdh2 iad15 ? 0 previous data hold after start of read (pm2) 4 t ck ? 5 ns 1 start of read = is low and ird low. 2 end of read = is high or ird high. 3 dm read or first half of pm read. 4 second half of pm read. figure 33. idma read, long read cycle t irk t ikr previous data read data t ikhr t ikds t irdv t ikdd t irde t ikdh iad15?0 iack is ird t irdh1 or t irdh2
?37? rev. 0 adsp-218xn series idma read, short read cycle table 25. idma read, short read cycle parameter 1, 2 min max unit timing requirements: t ikr iack low before start of read 3 0ns t irp1 duration of read (dm/pm1) 4 10 2t ck ? 5 ns t irp2 duration of read (pm2) 5 10 t ck ? 5 ns switching characteristics: t ikhr iack high after start of read 3 10 ns t ikdh iad15?0 data hold after end of read 6 0ns t ikdd iad15?0 data disabled after end of read 6 10 ns t irde iad15?0 previous data enabled after start of read 0 ns t irdv iad15?0 previous data valid after start of read 10 ns 1 short read only must be disabled in the idma overlay memory mapped register. this mode is disabled by clearing (=0) bit 14 of t he idma overlay register, and is disabled by default upon reset. 2 consider using the short read only mode, instead, because short read mode is not applicable at high clock frequencies. 3 start of read = is low and ird low. 4 dm read or first half of pm read. 5 second half of pm read. 6 end of read = is high or ird high. figure 34. idma read, short read cycle t irp t ikr previous data t ikhr t irdv t ikdd t irde t ikdh iad15?0 iack is ird
adsp-218xn series ?38? rev. 0 idma read, short read cycle in short read only mode table 26. idma read, short read cycle in short read only mode parameter 1 min max unit timing requirements: t ikr iack low before start of read 2 0ns t irp duration of read 3 10 ns switching characteristics: t ikhr iack high after start of read 2 10 ns t ikdh iad15?0 previous data hold after end of read 3 0ns t ikdd iad15?0 previous data disabled after end of read 3 10 ns t irde iad15?0 previous data enabled after start of read 0 ns t irdv iad15?0 previous data valid after start of read 10 ns 1 short read only is enabled by setting bit 14 of the idma overlay register to 1 (0x3fe7). short read only can be enabled by the processor core writing to the register or by an external host writing to the register. disabled by default. 2 start of read = is low and ird low. previous data remains until end of read. 3 end of read = is high or ird high. figure 35. idma read, short read cycle in short read only mode t irp t ikr previous data t ik hr t irdv t ikdd t irde t ikdh iad 15? 0 ia ck is ird legend: implies th at is and ird can be held indefinitely by host
?39? rev. 0 adsp-218xn series lqfp package pinout the lqfp package pinout is shown in the illustration below and in table 27 . pin names in bold text in the table replace the plain-text-named functions when mode c = 1. a + sign separates two functions when either function can be active for either major i/o mode. signals enclosed in brackets [ ] are state bits latched from the value of the pin at the deassertion of reset . the multiplexed pins dt1/fo, tfs1/irq1 , rfs1/irq0 , and dr1/fi, are mode selectable by setting bit 10 (sport1 configure) of the system control register. if bit 10 = 1, these pins have serial port functionality. if bit 10 = 0, these pins are the external interrupt and flag pins. this bit is set to 1 by default, upon reset. 100-lead lqfp pin configuration 5 4 3 2 7 6 9 8 1 d 1 9 d 1 8 d 1 7 d 1 6 i r q e + p f 4 i r q l 0 + p f 5 g n d i r q l 1 + p f 6 d t 0 t f s 0 s c l k 0 v d d e x t d t 1 / f o t f s 1 / i r q 1 d r 1 / f i g n d s c l k 1 e r e s e t r e s e t d15 d14 d13 d12 gnd d11 d10 d9 v ddext gnd d8 d7/ iwr d6/ ird d5/ial d4/ is gnd v ddint d3/ iack d2/iad15 d1/iad14 d0/iad13 bg ebg br ebr a4 /i ad3 a5/iad4 gnd a6/iad5 a7/iad6 a8/iad7 a9/iad8 a10/iad9 a11/iad10 a12 /iad11 a13/iad12 gnd clkin xtal v ddext clkout gnd v ddint wr rd bms dms pms ioms cms 71 72 73 74 69 70 67 68 65 66 75 60 61 62 63 58 59 56 57 54 55 64 52 53 51 1 0 0 9 9 9 8 9 7 9 6 9 5 9 4 9 3 9 2 9 1 9 0 8 9 8 8 8 7 8 6 8 5 8 4 8 3 8 2 8 1 8 0 7 9 7 8 7 7 7 6 pin 1 identifier top view (not to scale) 2 6 2 7 2 8 2 9 3 0 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 4 0 4 1 4 2 4 3 4 4 4 5 4 6 4 7 4 8 4 9 5 0 11 10 16 15 14 13 18 17 20 19 22 21 12 24 23 25 adsp-218xn i r q 2 + p f 7 r f s 0 d r 0 e m s e e e l o u t e c l k e l i n e i n t a 3 / i a d 2 a 2 / i a d 1 a 1 / i a d 0 a 0 p w d a c k b g h f l 0 f l 1 f l 2 d 2 3 d 2 2 d 2 1 d 2 0 g n d p f 1 [ m o d e b ] g n d p w d v d d e x t p f 0 [ m o d e a ] p f 2 [ m o d e c ] p f 3 [ m o d e d ] r f s 1 / i r q 0
adsp-218xn series ?40? rev. 0 table 27. lqfp package pinout pin # pin name 1a4/ iad3 2a5/ iad4 3gnd 4a6/ iad5 5a7/ iad6 6a8/ iad7 7a9/ iad8 8 a10/ iad9 9 a11/ iad10 10 a12/ iad11 11 a13/ iad12 12 gnd 13 clkin 14 xtal 15 v ddext 16 clkout 17 gnd 18 v ddint 19 wr 20 rd 21 bms 22 dms 23 pms 24 ioms 25 cms 26 irqe + pf4 27 irql0 + pf5 28 gnd 29 irql1 + pf6 30 irq2 + pf7 31 dt0 32 tfs0 33 rfs0 34 dr0 35 sclk0 36 v ddext 37 dt1/fo 38 tfs1/irq1 39 rfs1/irq0 40 dr1/fi 41 gnd 42 sclk1 43 ereset 44 reset 45 ems 46 ee 47 eclk 48 elout 49 elin 50 eint 51 ebr 52 br 53 ebg 54 bg 55 d0/ iad13 56 d1/ iad14 57 d2/ iad15 58 d3/ iack 59 v ddint 60 gnd 61 d4/ is 62 d5/ ial 63 d6/ ird 64 d7/ iwr 65 d8 66 gnd 67 v ddext 68 d9 69 d10 70 d11 71 gnd 72 d12 73 d13 74 d14 75 d15 76 d16 77 d17 78 d18 79 d19 80 gnd 81 d20 82 d21 83 d22 84 d23 85 fl2 86 fl1 87 fl0 88 pf3 [mode d] 89 pf2 [mode c] 90 v ddext 91 pwd 92 gnd 93 pf1 [mode b] 94 pf0 [mode a] 95 bgh 96 pwdack 97 a0 98 a1/ iad0 99 a2/ iad1 100 a3/ iad2 table 27. lqfp package pinout (continued) pin # pin name
?41? rev. 0 adsp-218xn series mini-bga package pinout the mini-bga package pinout is shown in the illustration below and in table 28 . pin names in bold text in the table replace the plain text named functions when mode c = 1. a + sign separates two functions when either function can be active for either major i/o mode. signals enclosed in brackets [ ] are state bits latched from the value of the pin at the deassertion of reset . the multiplexed pins dt1/fo, tfs1/irq1 , rfs1/irq0 , and dr1/fi, are mode selectable by setting bit 10 (sport1 configure) of the system control register. if bit 10 = 1, these pins have serial port functionality. if bit 10 = 0, these pins are the external interrupt and flag pins. this bit is set to 1 by default upon reset. 144-ball mini-bga package pinout (bottom view) irql0 + pf5 irq2 + pf7 nc cms gnd dt1/fo dr1/fi gnd nc ems ee eclk irqe + pf4 nc irql1 + pf6 ioms gnd pms dr0 gnd reset elin elout eint nc nc nc bms dms rfs0 tfs1/ irq1 sclk1 ereset ebr br ebg clkout v ddint nc v ddext v ddext sclk0 d0/iad13 rfs1/ irq0 bg d1/iad14 v ddint v ddint clkin gnd gnd gnd v ddint dt0 tfs0 d2/iad15 d3/ iack gnd nc gnd xtal nc gnd a10/iad9 nc nc nc d6/ ird d5/ial nc nc d4/ is a13/iad12 nc a12/iad11 a11/iad10 fl1 nc nc d7/ iwr d11 d8 nc d9 v ddext v ddext a8/iad7 fl0 pf0 [mode a] fl2 pf3 [mode d] gnd gnd v ddext gnd d10 nc wr nc bgh a9/iad8 pf1 [mode b] pf2 [mode c] nc d13 d12 nc gnd pwdack a6/iad5 rd a5/iad4 a7/iad6 pwd v ddext d21 d19 d15 nc d14 a4/iad3 a3/iad2 gnd nc nc gnd v ddext d23 d20 d18 d17 d16 a2/iad1 a1/iad0 gnd a0 nc gnd nc nc nc d22 gnd gnd 1 2 3 4 5 6 7 8 9 10 11 12 m l k j h g f e d c b a
adsp-218xn series ?42? rev. 0 table 28. mini-bga package pinout ball # pin name a01 a2/ iad1 a02 a1/ iad0 a03 gnd a04 a0 a05 nc a06 gnd a07 nc a08 nc a09 nc a10 d22 a11 gnd a12 gnd b01 a4/ iad3 b02 a3/ iad2 b03 gnd b04 nc b05 nc b06 gnd b07 v ddext b08 d23 b09 d20 b10 d18 b11 d17 b12 d16 c01 pwdack c02 a6/ iad5 c03 rd c04 a5/ iad4 c05 a7/ iad6 c06 pwd c07 v ddext c08 d21 c09 d19 c10 d15 c11 nc c12 d14 d01 nc d02 wr d03 nc d04 bgh d05 a9/ iad8 d06 pf1 [mode b] d07 pf2 [mode c] d08 nc d09 d13 d10 d12 d11 nc d12 gnd e01 v ddext e02 v ddext e03 a8/ iad7 e04 fl0 e05 pf0 [mode a] e06 fl2 e07 pf3 [mode d] e08 gnd e09 gnd e10 v ddext e11 gnd e12 d10 f01 a13/ iad12 f02 nc f03 a12/ iad11 f04 a11/ iad10 f05 fl1 f06 nc f07 nc f08 d7/ iwr f09 d11 f10 d8 f11 nc f12 d9 g01 xtal g02 nc g03 gnd g04 a10/ iad9 g05 nc g06 nc g07 nc g08 d6/ ird g09 d5/ ial g10 nc g11 nc g12 d4/ is h01 clkin h02 gnd h03 gnd h04 gnd h05 v ddint h06 dt0 h07 tfs0 h08 d2/ iad15 h09 d3/ iack h10 gnd h11 nc h12 gnd j01 clkout j02 v ddint j03 nc j04 v ddext j05 v ddext table 28. mini-bga package pinout (continued) ball # pin name
?43? rev. 0 adsp-218xn series j06 sclk0 j07 d0/ iad13 j08 rfs1/irq0 j09 bg j10 d1/ iad14 j11 v ddint j12 v ddint k01 nc k02 nc k03 nc k04 bms k05 dms k06 rfs0 k07 tfs1/irq1 k08 sclk1 k09 ereset k10 ebr k11 br k12 ebg l01 irqe + pf4 l02 nc l03 irql1 + pf6 l04 ioms l05 gnd l06 pms l07 dr0 l08 gnd l09 reset l10 elin l11 elout l12 eint m01 irql0 + pf5 m02 irql2 + pf7 m03 nc m04 cms m05 gnd m06 dt1/fo m07 dr1/fi m08 gnd m09 nc m10 ems m11 ee m12 eclk table 28. mini-bga package pinout (continued) ball # pin name
adsp-218xn series ?44? rev. 0 outline dimensions dimensions in outline dimension drawings are shown in millimeters. 144-ball mini-bga (ca-144) 100-lead metric thin plastic quad flatpack (lqfp) (st-100) seating plane 1.00 0.85 0.43 0.25 detail a 0.55 0.50 0.45 ball diameter 0.10 max dimensions in millimeters . actual position of the ball grid is within 0.15 of its ideal position, relative to the package edges. actual position of each ball is within 0.08 of its ideal position, relative to the ball grid. center dimensions are nominal. notes: 3. 4. 1. 2. 1.40 max detail a 0.80 bsc ball pitch 8.80 bsc sq a b c d e f g h j k l m 12 11 10 9 8 7 6 5 4 3 2 1 10.10 10.00 sq 9.90 bottom view top view a1 corner index triangle seating plane 0.75 0.60 typ 0.50 1.60 max 12 typ 0.15 0.05 6 4 0 - 7 0.08 max lead coplanarity top view (pins down) 1 25 26 51 50 75 100 76 0.27 0.22 typ 0.17 16.20 16.00 sq 15.80 0.50 bsc 12.00 typ bsc (lead width) (lead pitch) dimensions in millimeters. the actual position of each lead is within 0.08 of its ideal position, when measured in the lateral direction. center dimensions are nominal. notes: 3. 1. 2. 14.05 14.00 sq 13.95
?45? rev. 0 adsp-218xn series ordering guide table 29. ordering guide part number ambient te m p e r a t u r e range instruction rate (mhz) package description package option adsp-2184nkst-320 0oc to 70oc 80 100-lead lqfp st-100 adsp-2184nbst-320 ?40oc to +85oc 80 100-lead lqfp st-100 adsp-2185nkst-320 0oc to 70oc 80 100-lead lqfp st-100 adsp-2185nbst-320 ?40oc to +85oc 80 100-lead lqfp st-100 adsp-2186nkst-320 0oc to 70oc 80 100-lead lqfp st-100 adsp-2186nbst-320 ?40oc to +85oc 80 100-lead lqfp st-100 adsp-2187nkst-320 0oc to 70oc 80 100-lead lqfp st-100 adsp-2187nbst-320 ?40oc to +85oc 80 100-lead lqfp st-100 adsp-2188nkst-320 0oc to 70oc 80 100-lead lqfp st-100 adsp-2188nbst-320 ?40oc to +85oc 80 100-lead lqfp st-100 adsp-2189nkst-320 0oc to 70oc 80 100-lead lqfp st-100 adsp-2189nbst-320 ?40oc to +85oc 80 100-lead lqfp st-100 adsp-2184nkca-320 0oc to 70oc 80 144-ball mbga ca-144 adsp-2184nbca-320 ?40oc to 85oc 80 144-ball mbga ca-144 adsp-2185nkca-320 0oc to 70oc 80 144-ball mbga ca-144 adsp-2185nbca-320 ?40oc to +85oc 80 144-ball mbga ca-144 adsp-2186nkca-320 0oc to 70oc 80 144-ball mbga ca-144 adsp-2186nbca-320 ?40oc to +85oc 80 144-ball mbga ca-144 adsp-2187nkca-320 0oc to 70oc 80 144-ball mbga ca-144 adsp-2187nbca-320 ?40oc to +85oc 80 144-ball mbga ca-144 adsp-2188nkca-320 0oc to 70oc 80 144-ball mbga ca-144 adsp-2188nbca-320 ?40oc to +85oc 80 144-ball mbga ca-144 adsp-2189nkca-320 0oc to 70oc 80 144-ball mbga ca-144 adsp-2189nbca-320 ?40oc to +85oc 80 144-ball mbga ca-144
?46?
?47?
?48? c 0 2 6 6 6 ? 1 ? 1 0 / 0 1 ( 0 ) p r i n t e d i n u . s . a .


▲Up To Search▲   

 
Price & Availability of ADSP-218XNSERIES

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X